package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.UserDto;
import com.zzyl.entity.SysUser;
import com.zzyl.vo.UserVo;

import java.util.List;

public interface SysUserService {
    Boolean addUser(UserDto userDto);
    void deleteUser(String userIds);
    Boolean updateUser(UserDto UserDto);
    SysUser getUserById(Long id);
    List<SysUser> getAllUsers();


    void isEnable(Long id, String status);

    List<UserVo> getUsers(UserDto userDto);

    PageResponse<UserVo> getPageUsers(Integer pageNum, Integer pageSize, UserDto userDto);

    void resetPasswords(Long userId);
}